﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace Abreu.Profile.ObjectClasses
{
    public class PropertySection
    {
        #region Class Members
        private int _propertyCategoryId;
        private int _dataTypeId;
        private String _languageId;
        private String _nameProperty;
        private String _codeProperty;
        private String _defaultValueProperty;
        private Boolean _isValueRequired;
        private Boolean _isTranslationRequired;
        private Char _statusProperty;
        #endregion 

        #region Properties
        public int PropertyCategoryId
        {
            get { return _propertyCategoryId; }
            set { _propertyCategoryId = value; }
        }

        public int DataTypeId
        {
            get { return _dataTypeId; }
            set { _dataTypeId = value; }
        }

        public String LanguageId
        {
            get { return _languageId; }
            set { _languageId = value; }
        }

        public String NameProperty
        {
            get { return _nameProperty; }
            set { _nameProperty = value; }
        }

        public String CodeProperty
        {
            get { return _codeProperty; }
            set { _codeProperty = value; }
        }

        public String DefaultValueProperty
        {
            get { return _defaultValueProperty; }
            set { _defaultValueProperty = value; }
        }

        public Boolean IsValueRequired
        {
            get { return _isValueRequired; }
            set { _isValueRequired = value; }
        }

        public Boolean IsTranslationRequired
        {
            get { return _isTranslationRequired; }
            set { _isTranslationRequired = value; }
        }

        public Char StatusProperty
        {
            get { return _statusProperty; }
            set { _statusProperty = value; }
        }
        #endregion

        #region Constructor
        public PropertySection(int propertyCategoryId, int dataTypeId, String languageId, String nameProperty, String codeProperty, String defaultValueProperty,
                            Boolean isValueRequired, Boolean isTranslationRequired, Char statusProperty)
        {
            PropertyCategoryId = propertyCategoryId;
            DataTypeId = dataTypeId;
            LanguageId = languageId;
            NameProperty = nameProperty;
            CodeProperty = codeProperty;
            DefaultValueProperty = defaultValueProperty;
            IsValueRequired = isValueRequired;
            IsTranslationRequired = isTranslationRequired;
            StatusProperty = statusProperty;            
        } 
	    #endregion
    }
}
